package cn.doitedu.demo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.HashMap;

/***
 * @author hunter.d
 * @qq 657270652
 * @wx haitao-duan
 * @date 2021/3/13
 * doris表结构pojo
 * 建表语句：
 * create table event1
 * (
 *     deviceid varchar(32) default '',
 *     year_str varchar(10) default '2020',
 *     month_str varchar(10) default '01',
 *     day_str varchar(10) default '01',
 *     hour_str varchar(10) default '00',
 *     minute_str varchar(10) default '00',
 *     second_str varchar(10) default '00',
 *
 *     eventid varchar(10) default '',
 *     pageid varchar(10) default '',
 *     adid varchar(10) default '',
 *     pid varchar(10) default '',
 *     eleid varchar(10) default '',
 *     timestamp bigint default '0'
 * )
 * aggregate key(deviceid,year_str,month_str,day_str,hour_str,minute_str,second_str,eventid,pageid,adid,pid,eleid,timestamp)
 * distributed by hash(deviceid) buckets 10
 * properties("replication_num"="1");
 *
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class LogBeanFlat {
    private String account;
    private String appId;
    private String appVersion;
    private String carrier;
    private String deviceId;
    private String deviceType;
    private String eventId;
    private String ip;
    private String latitude;
    private String longitude;
    private String netType;
    private String osName;
    private String osVersion;
    private String releaseChannel;
    private String resolution;
    private String sessionId;
    private String timeStamp;
    private String adCampain;
    private String adId;
    private String adLocation;
    private String couponId;
    private String keywords;
    private String pageId;
    private String productId;
    private String productNumb;
    private String refType;
    private String refUrl;
    private String shareMethod;
    private String title;
    private String url;
    private String utm_campain;
    private String utm_loctype;
    private String utm_source;
}
